package com.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.entity.Address;
import com.entity.Car;
import com.entity.view.AddressView;
import com.entity.view.CarView;
import com.entity.vo.AddressVO;
import com.entity.vo.CarVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface AddressDao extends BaseMapper<Address> {
    List<AddressVO> selectListVO(@Param("ew") Wrapper<Address> wrapper);

    AddressVO selectVO(@Param("ew") Wrapper<Address> wrapper);

    List<AddressView> selectListView(@Param("ew") Wrapper<Address> wrapper);

    List<AddressView> selectListView(Pagination page, @Param("ew") Wrapper<Address> wrapper);

    AddressView selectView(@Param("ew") Wrapper<Address> wrapper);


}
